﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommandModel
{
    public class Invoker
    {
        private Command _Command { get; set; }
        public void SetCommand(Command command)
        {
            this._Command = command;
        }

        public void Action()
        {
            this._Command.Execute();
        }
    }
}
